package com.eascs.web.o2o.report.test;

import javax.inject.Inject;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.eascs.app.log.Logger;
import com.eascs.app.log.LoggerFactory;
import com.eascs.site.controller.BaseRestController;
import com.eascs.web.o2o.report.task.MessageTask;


@RestController
public class MsgSendController extends BaseRestController {
	Logger logger = LoggerFactory.getLogger(MsgSendController.class);

	@Inject
	MessageTask messageTsk;

	@RequestMapping(value = "/test/sendMsg")
	public void sendMsg() {
		messageTsk.msgSend();
	}

	@RequestMapping(value = "/test/sendEmail")
	public void sendEmail() {
		//messageTsk.emailScheduleSend();
	}
}